package com.wang.mall.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wang.mall.bean.SysRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysRoleMapper extends BaseMapper<SysRole> {
    List<SysRole> findByUserId(@Param("userId") Long userId);

    List<Long> selectRoleByUserId(@Param("createUserId") Long createUserId);
}
